package com.day05.ex02;

public class MethodTest {
    public static void main(String[] args) {
        int result=getMax(10,20);
        System.out.println(result);
    }
    public static int getMax(int a,int b){
        if(a>b){
            return a;
        }else{
            return b;
        }
    }
}
